Dual-camera device and terminal device

ABSTRACT

A dual-camera device includes a first camera and a second camera, where the first camera includes a first motor, and the first motor includes at least one first Hall effect sensor, where the second camera includes a second motor, the second motor and the first motor are disposed in parallel, the second motor includes N second coils and N second magnets, the second coils are configured to levitate and support the second magnets during power-on, N is a positive integer and is a multiple of four. A distance between a first disposition location of the first Hall effect sensor and a second disposition location of the second magnets in the second motor is greater than or equal to a first preset distance.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.16/347,144, filed on May 2, 2019, which is a U.S. National Stage ofInternational Patent Application No. PCT/CN2017/109151 filed on Nov. 2,2017, which claims priority to Chinese Patent Application No.201610956637.7 filed on Nov. 3, 2016, all of which are herebyincorporated by reference in their entireties.

TECHNICAL FIELD

This application relates to the communications field, and morespecifically, to a dual-camera device and a terminal device.

BACKGROUND

Currently, application of a dual camera in a mobile phone isincreasingly popularized. A dual camera usually includes two motors witha focus function. The motor measures and determines magnetic fieldintensity by disposing a Hall (Hall) effect sensor to determine alocation of a lens, so as to implement focusing. In addition, a camerawith a stabilization function is increasingly popularized, and thestabilization function is mainly implemented by using four magnets andfour coils used to levitate and support the magnets in a power-on state.

However, when a motor with a stabilization function is disposed in adual-camera mobile phone, a strong magnetic field is generated bymagnets and coils in a power-on state, and further strong magneticinterference is generated to a Hall effect sensor in another motor.

In the prior art, the magnetic interference caused by the motor with thestabilization function in the dual-camera mobile phone to the Halleffect sensor in the another motor is avoided by using software.However, this causes deterioration of photographing experience (forexample, a focus time). Therefore, a solution capable of reducingmagnetic interference caused by a motor with a stabilization function ina dual camera to a motor with an autofocus function is urgentlyexpected, to improve user experience.

SUMMARY

Embodiments of this application provide a dual-camera device and aterminal device, so that magnetic interference caused by a motor with astabilization function to a Hall effect sensor in another motor can bereduced, and user experience can be improved.

According to a first aspect, a dual-camera device is provided,including: a first camera, where the first camera includes a firstmotor, and the first motor includes at least one first Hall effectsensor; and a second camera, where the second camera includes a secondmotor, the second motor and the first motor are disposed in parallel,the second motor includes N second coils and N second magnets, thesecond coils are configured to levitate and support the second magnetsduring power-on, N is a positive integer, and N is a multiple of 4. Adistance between a first disposition location of the first Hall effectsensor in the first motor and a second disposition location of thesecond magnets in the second motor is greater than or equal to a firstpreset distance.

The distance between the Hall effect sensor in the first motor and themagnets in the second motor is greater than or equal to a first presetthreshold, so that magnetic interference caused to the Hall effectsensor in the first motor by a magnetic field generated by the magnetsin the second motor and the coils supporting the magnets in a power-onstate is reduced, and user experience is improved.

In some possible implementations, the first motor further includes Kfirst magnets and an autofocus AF coil, the AF coil is in a ring shape,the K first magnets are placed opposite to each other along an outerwall of the ring shape, K is a positive integer, and K is a multiple of2.

The first motor may be an AF motor, and the second motor is a motor witha stabilization function. This reduces impact exerted on a focusfunction of the AF motor by the second motor, and reduces a focus time.

In some possible implementations, the first motor further includes Mfirst coils and M first magnets, the first coils are configured tolevitate and support the first magnets during power-on, M is a positiveinteger, and M is a multiple of 4; the second motor further includes atleast one second Hall effect sensor, and a distance between a thirddisposition location of the second Hall effect sensor in the secondmotor and a fourth disposition location of the first magnets in thefirst motor is greater than or equal to a second preset distance.

In this embodiment of this application, locations of a Hall effectsensor and a magnet are laid out in one motor and locations of a Halleffect sensor and a magnet are laid out in another motor, to reducemagnetic interference between the two motors, and user experience isimproved.

In some possible implementations, the first motor further includes an AFcoil, the AF coil is in a ring shape, and the M first magnets are placedpairwise opposite to each other around an outer wall of the ring shape.

Locations of a Hall effect sensor and a magnet are laid out in an OISmotor and locations of a Hall effect sensor and a magnet are laid out inanother motor, to reduce magnetic interference between the OIS motor andthe motor with a stabilization function, so as to improve a focusfunction and a stabilization function of the OIS motor, and improve thestabilization function of the another motor.

In some possible implementations, the second motor further includes anAF coil, the AF coil is in a ring shape, and the N second magnets areplaced pairwise opposite to each other around an outer wall of the ringshape.

Locations of a Hall effect sensor and a magnet are laid out in one OISmotor and locations of a Hall effect sensor and a magnet are laid out inanother OIS motor, to reduce magnetic interference between the two OISmotors, and respectively improve focus functions and stabilizationfunctions of the two OIS motors.

In some possible implementations, the first magnets are bipolar magnets.

Bipolar magnets may be used for the first motor to implement moredesirable magnetic non-leakage, so that magnetic interference caused bythe first motor to the Hall effect sensor in the second motor can befurther reduced, and focus performance of the second motor can beimproved.

In some possible implementations, the second preset distance is amaximum value that can be reached by the distance between the thirddisposition location and the fourth disposition location.

When a layout inside a motor is compact, the second preset distance maybe configured as a maximum distance between the disposition location ofthe second Hall effect sensor and the location of the first magnets. Inthis way, interference caused by the first motor to the second Halleffect sensor can be reduced as much as possible.

In some possible implementations, the second preset distance is 5 mm.

When space inside a motor permits, a second preset threshold may be setto 5 mm, so that interference between the second Hall effect sensor andthe first magnets is effectively reduced.

In some possible implementations, the first preset distance is a maximumvalue that can be reached by the distance between the first dispositionlocation and the second disposition location.

When a layout inside a motor is compact, the first preset distance maybe configured as a maximum distance between the disposition location ofthe first Hall effect sensor and the location of the second magnets. Inthis way, magnetic interference caused by the second motor to the firstHall effect sensor can be reduced as much as possible.

In some possible implementations, the first preset distance is 5 mm.

When space inside a motor permits, the first preset threshold may be setto 5 mm, so that interference caused by the second motor to the firstHall effect sensor is effectively reduced.

In some possible implementations, the second magnets are bipolarmagnets.

Bipolar magnets may be used for the second motor to implement moredesirable magnetic non-leakage, so that magnetic interference caused bythe second motor to the Hall effect sensor in the first motor can befurther reduced.

In some possible implementations, a housing material of the first motoris SUS304 or SUS315.

The housing material of the first motor may use a weak magnetic materialor a non-magnetic material, so that magnetic interference caused by thefirst motor to the second motor is further reduced.

In some possible implementations, a housing material of the second motoris SUS304 or SUS315.

The housing material of the second motor may also use a weak magneticmaterial or a non-magnetic material, so that magnetic interferencecaused by the second motor to the first motor is further reduced.

According to a second aspect, a terminal device is provided, includingthe dual-camera device in any one of the first aspect and the possibleimplementations.

Based on the foregoing technical solutions, the distance between theHall effect sensor in the first motor and the magnets in the secondmotor is set to be greater than or equal to the first preset thresholdin the embodiments of this application, so that magnetic interferencecaused to the Hall effect sensor in the first motor by the magneticfield generated by the magnets in the second motor and the coilssupporting the magnets in a power-on state is reduced, and userexperience is improved.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a schematic flowchart of an open loop and a closed loop;

FIG. 2 is a schematic structural diagram of levitating and supportingmagnets by coils in an optical image stabilization (optical imagestabilization, OIS) motor;

FIG. 3 is a diagram of an internal structure of an autofocus (Autofocus,AF) motor;

FIG. 4 is a schematic diagram of a focus principle of an AF motor;

FIG. 5 is a schematic diagram of force-bearing of an AF motor;

FIG. 6 is a schematic structural diagram of an OIS motor;

FIG. 7 is a schematic diagram of magnetic field intensity generated byan OIS motor in a power-on state;

FIG. 8 is an elevational view of a motor structure of a dual-cameradevice according to an embodiment of this application;

FIG. 9 is an elevational view of a motor structure of a dual-cameradevice according to another embodiment of this application;

FIG. 10 is a schematic diagram of a bipolar magnet according to anembodiment of this application;

FIG. 11 is an elevational view of a motor structure of a dual-cameradevice according to another embodiment of this application;

FIG. 12 is an elevational view of a motor structure of a dual-cameradevice according to still another embodiment of this application;

FIG. 13 is a layout diagram of bipolar magnets according to anembodiment of this application; and

FIG. 14 is a diagram of a simulation result of magnetic interferenceaccording to an embodiment of this application.

DESCRIPTION OF EMBODIMENTS

The following describes the technical solutions in the embodiments ofthis application with reference to the accompanying drawings in theembodiments of this application.

For ease of understanding the embodiments of this application, thefollowing elements are first described before the embodiments of thisapplication are described.

A working principle of an autofocus (Autofocus, AF) motor is: A coilinside the motor is powered on to generate a magnetic field, a lens ismoved based on magnetic force, and the AF motor measures and determinesmagnetic field intensity by using a Hall effect sensor to determine alocation of the lens, moves the location of the entire lens by using amicro-distance, and controls a focal length, to implement clearness ofan image. The AF motor mainly includes a voice coil motor, a steppermotor, liquid lens focus, a memory alloy motor, liquid crystal lensfocus, and the like, and a most commonly used drive mechanism is thevoice coil motor (Voice Coil Motor, VCM).

FIG. 1 is a flowchart of an open loop and a closed loop. The open loophas a simple structure and low costs, works stably, and has a relativelygood control effect when an input signal and input disturbance can beknown in advance. However, an offset of a controlled value cannot beautomatically corrected, and an element parameter change in a system andexternal unknown disturbance affect control precision.

The closed loop has a capability of automatically correcting an offsetof a controlled value by using feedback control, can correct an errorcaused by an element parameter change and external disturbance, and hashigh control precision. A closed-loop AF motor implements the foregoingfunction by using a Hall effect sensor, and the Hall effect sensor maymeasure and determine a Gaussian value in a magnetic field, so that alocation of a lens can be further measured and determined. Specifically,magnetic field intensity at locations of 0 and max of the lens is sensedby using the Hall effect sensor and is stored in a driver. Magneticfield intensity at a movement location can also be measured duringmotion of a focus lens set, and the intensity is returned to the driver.The driver obtains a positive or negative error based on the returnedvalue, and then controls a moving direction and a moving speed of thefocus lens set by using the positive or negative error. In this way,focus may be performed relatively precisely and quickly.

An autofocus function of an OIS motor is implemented by an AF coil andtwo magnets opposite to each other. An OIS function is implemented by alens levitation body (shown in FIG. 2 ) including four pairwise oppositemagnets and four OIS coils. The OIS motor mainly includes atranslation-type OIS focus motor and a shaft-moving-type focus motor.Principles of the two OIS motors are the same, to be specific, a lens iscontrolled to translate relative to an image sensor, so that an imageoffset caused by hand jitter is cancelled and compensated for. A type ofthe OIS motor is not limited in this embodiment of this application.

In conclusion, the AF motor adjusts a focal length through movement in avertical direction, and the OIS motor not only can move a lens in thevertical direction, but also can move a lens in a horizontal direction.A gyroscope built in a terminal device converts jitter information intoan electrical signal and sends the electrical signal to an OIS controldriver. The OIS control driver drives a motor to control motion of alevitation lens to compensate for impact generated by jitter. The Halleffect sensor feeds back location information of the lens to the OIScontrol driver, to form complete closed-loop control.

FIG. 3 is a diagram of an internal structure of an autofocus (AF) motor.AF motors are further classified into an open-loop (open-loop) AF motorand a closed-loop (close loop) AF motor. The open-loop AF motor includesa cover 101 (cover), a yoke 102 (yoke), a top spring 103 (spring-top), amagnet 104 (magnet), a coil 105 (coil), a holder 106 (holder), a bottomspring 107 (spring-btm), a terminal 108 (terminal), and a base 109(base). The closed-loop AF motor differs from the open-loop AF motor inthat a bottom spring further includes a Hall magnet 110 (magnet Hallelement), a Hall effect sensor 111 (Hall element), and a flexiblecircuit board 112 (FPC). It should be understood that the AF motorfurther includes a motor housing.

According to an autofocus principle, a lens is relatively remarkablymoved by using a motor, to determine image contrast. A specific focusprocess includes the following steps:

(1) When focus is not performed, an entire image of a focus point is ina defocus state.

(2) Focus starts, the lens starts to move, the image gradually becomesclear, and the contrast starts to rise.

(3) In a focus state, the image is the clearest with highest contrast,but this is unknown by a mobile phone; therefore, the lens continues tomove.

(4) The lens continues to move to find that the contrast starts todecrease; the lens is further moved to find that the contrast furtherdecreases, and the mobile phone knows that the focus point is alreadymissed.

(5) The lens is moved back to a location with the highest contrast, tocomplete focus.

FIG. 4 shows the focus principle. The figure describes the focusprocess. After two clearest areas are found by moving a lens, the lensis then slightly moved in the two areas to find a clear focus point. Themotor moves the lens by using Ampere's force, and a fixed magnetic fieldand a coil through which a variant current runs are needed.

A working principle of an autofocus motor is: In a permanent magneticfield, a stretching location of a spring plate is controlled by changinga value of a direct current in a coil inside the motor, to drive thelens to move up and down. For example, an autofocus work force-bearingsituation shown in FIG. 5 is: F=IL*B sin α and Fi=fs+gL, where F isAmpere's force, fs is elastic force of a spring, and gL is gravity ofthe lens.

The OIS motor has an autofocus function of the AF motor, and further hasa stabilization function. The OIS motor usually includes four magnets310 and Hall effect sensors 320 in an X-axis direction and in a Y-axisdirection, and/or Hall effect sensors 320 and a housing 330 that are ina Z-axis direction. The housing usually uses an aluminum material. FIG.6 is a structural diagram of an OIS motor. Four magnets are fastened toa yoke around a periphery. After power-on, magnetic force is generatedby a magneto and a coil, to push a lens carrier to move. Two Hall effectsensors in a Z-axis direction, four magnets, and a housing are includedin FIG. 6 . The Hall effect sensors in the X-axis direction and in theY-axis direction are configured to detect magnetic field changes in theX direction and in the Y direction, and the Hall effect sensors in theZ-axis direction are configured to detect a magnetic field change in theZ-axis direction.

One of two motors in a dual-camera device in the prior art has astabilization function, and the other motor determines a location of alens by measuring and determining magnetic field intensity by using aHall effect sensor, to implement focus. The Hall effect sensors 320 andthe magnets 104 are disposed at random, and a corresponding coil isdisposed under each magnet. Therefore, when the coil is powered on,strong magnetic interference is caused to the Hall in the AF motor bymagnetic field force generated by the magnet and the coil. Consequently,a focus speed and stabilization performance of photographingdeteriorate. For example, FIG. 7 shows the magnetic force generated bythe coil and the magnet changes as a current in a powered-on coil in theOIS motor changes. To be specific, the magnetic force generated by thecoil and the magnet increases as the power-on current increases from 0mA to 100 mA.

FIG. 8 is an elevational view of a motor structure of a dual-cameradevice according to an embodiment of this application. As shown in FIG.8 , the dual-camera device includes: a first camera, where the firstcamera includes a first motor, and the first motor includes at least onefirst Hall effect sensor; and a second camera, where the second cameraincludes a second motor, the second motor and the first motor aredisposed in parallel, the second motor includes N second coils and Nsecond magnets, the second coils are configured to levitate and supportthe second magnets during power-on, N is a positive integer, and N is amultiple of 4. A distance between a first disposition location of thefirst Hall effect sensor in the first motor and a second dispositionlocation of the second magnets in the second motor is greater than orequal to a first preset distance.

Specifically, the first motor 410 includes the at least one first Halleffect sensor, and the second motor 420 includes the N second magnetsand the N second coils (that is, OIS coils). N is greater than 4 and isa multiple of 4. A specific quantity may be determined based on a modulesize in the motor, a distance between the two cameras, and the like.This is not limited in this application.

As shown in FIG. 8 , for ease of description, an example in which thefirst motor 410 includes one first Hall effect sensor 411 and the secondmotor 420 includes four second magnets 421 and four second coils (thecoils are under the magnets, and this is not shown in FIG. 8 ) is usedfor description. The first Hall effect sensor 411 is disposed in thefirst motor 410, the second magnets 421 are disposed in the second motor420, and the distance between the first disposition location and thesecond disposition location is greater than or equal to the first presetdistance. Specifically, the sensors and the magnets may be laid outbased on a magnetic field between the two motors, a sensitive area ofthe magnetic field is determined, and the disposition location of theHall effect sensor in the first motor and the disposition location ofthe magnets in the second motor are laid out by using the magneticsensitive area.

It should be understood that the first preset distance may alternativelybe determined based on factors such as sizes of internal space of thetwo motors (to be specific, the first preset distance is less than orequal to a maximum distance between internal components of the twomotors) and measured data, or may be set at delivery or may be set by auser based on a requirement. This is not limited in this application.

It should be further understood that the distance between the firstdisposition location and the second disposition location in FIG. 8 maybe a distance between a center of the Hall effect sensor 411 and acenter of the magnets 421, may be a maximum distance between a left edgeof the Hall effect sensor 411 and a right edge of the magnets 421, maybe a minimum distance between a right edge of the Hall effect sensor 411and a left edge of the magnets 421, may be a distance between a leftedge of the Hall effect sensor 411 and a left edge of the magnets 421,or the like. This is not limited in this application. In addition, forease of description, an example in which the Hall effect sensor 411 andthe magnets 421 are on a same plane is used for description in thisapplication. However, this application is not limited thereto.

It should be noted that if the first motor includes a plurality of firstHall effect sensors, and the second motor includes a plurality of secondmagnets, the distance between the first disposition location and thesecond disposition location may be a minimum value of a distance betweena location of the plurality of first Hall effect sensors in the firstmotor and a location of the plurality of second magnets in the secondmotor.

It should be understood that there is usually a gap between the twomotors in the dual-camera device. The gap may be configured based onactual application, and is usually set to be less than 1.5 mm. This isnot limited in this application.

It should be further understood that mutual impact with another devicein the dual-camera device should be further considered for thedisposition location of the Hall effect sensors and the dispositionlocation of the magnets in the motors. This is not limited in thisembodiment of this application.

Therefore, for the dual-camera device in this embodiment of thisapplication, the distance between the Hall effect sensor in the firstmotor and the magnets in the second motor is set to be greater than orequal to the first preset threshold, so that magnetic interferencecaused to the Hall effect sensor in the first motor by the magneticfield generated by the magnets in the second motor and the coilssupporting the magnets in a power-on state is reduced, and userexperience is improved.

Optionally, the first motor further includes K first magnets 412 and anAF coil 413, the AF coil 413 is in a ring shape, the K first magnets 412are placed opposite to each other along an outer wall of the ring shape,K is a positive integer, and K is a multiple of 2. In this case, thefirst motor may be considered as an AF motor, and the second motor has astabilization function. For example, as shown in FIG. 9 , FIG. 9 is aschematic diagram of an example in which K is 2.

It should be noted that a quantity of Hall effect sensors in eachdirection may be determined based on a factor such as a module size in amotor. This is not limited herein in this application.

Optionally, the first preset distance is a maximum value that can bereached by the first disposition location and the second dispositionlocation.

Specifically, when a layout inside a motor is compact, the first presetdistance may be configured as a maximum distance between the dispositionlocation of the first Hall effect sensor and the location of the secondmagnets. In this way, magnetic interference caused by the second motorto the first Hall effect sensor can be reduced as much as possible.

Optionally, when space inside a motor permits, the first presetthreshold may be set to 5 mm, so that magnetic interference caused bythe second motor to the first Hall effect sensor is effectively reduced.

Optionally, the second magnets are bipolar magnets.

Specifically, the second motor may use a bipolar magnet (shown in FIG.10 ). There are two polarities on one surface of the bipolar magnet, anddifferent from divergence of a unipolar magnet, an external magneticfield of the bipolar magnet is limited. Therefore, more desirablemagnetic non-leakage can be implemented, so that magnetic interferencecaused by the second motor to the Hall effect sensor in the first motorcan be further reduced.

It should be understood that all or some of the plurality of secondmagnets included in the second motor may be bipolar magnets. This is notlimited in this application. For example, if the second motor includesfour magnets that may be placed pairwise symmetrically. Two magnets thatare symmetrically placed are configured as bipolar magnets, and theother two symmetrical magnets are common magnets.

Optionally, a housing material of the first motor is SUS304 or SUS315.

Specifically, the housing material of the first motor may use a weakmagnetic material or a non-magnetic material, so that magneticinterference caused by the first motor to the second motor is furtherreduced. For example, the housing material may be SUS304, SUS315, or thelike. The weak magnetic material or the non-magnetic material is notlimited in this application.

Optionally, the first motor further includes M first coils and M firstmagnets, the first coils are configured to levitate and support thefirst magnets during power-on, M is a positive integer, and M is amultiple of 4. The second motor further includes at least one secondHall effect sensor, and a distance between a third disposition locationof the second Hall effect sensor in the second motor and a fourthdisposition location of the first magnets in the first motor is greaterthan or equal to a second preset distance.

Specifically, if the first motor further includes the M first magnetsand the M first coils (that is, OIS coils), the first motor also has astabilization function. The second motor further includes the secondHall effect sensor, to be specific, the second motor also determines alocation of a lens by detecting, measuring, and determining magneticfield intensity by using the Hall effect sensor. In this way, to avoidstrong magnetic interference caused to the second Hall effect sensor bya magnetic field generated by the first magnets and the first coils, adistance between a third disposition location at which the first magnetsare disposed in the first motor and a fourth disposition location atwhich the second Hall effect sensor is disposed in the second motor isgreater than or equal to a second preset distance. As shown in FIG. 11 ,the first motor 410 further includes four magnets 412 and the Halleffect sensor 411, the second motor 420 further includes the Hall effectsensor 422, and a distance between the Hall effect sensor 422 and themagnets 412 is greater than or equal to the second preset distance.

It should be understood that the second preset distance may be the sameas the first preset distance. Details are not described herein again.Alternatively, the second preset distance may be different from thefirst preset threshold. This is not limited in this application.

It should be further understood that magnetic interference between aHall effect sensor and a magnet in a same motor may be calibrated duringcalibration of a production line because a module is a fixed value.

Optionally, the first motor further includes an AF coil, the AF coil isin a ring shape, and the M first magnets are placed pairwise opposite toeach other around an outer wall of the ring shape. In this case, thefirst motor may be considered as an OIS motor, and the second motor hasa stabilization function.

Optionally, the second motor further includes an AF coil, the AF coil isin a ring shape, and N second magnets are placed pairwise opposite toeach other around an outer wall of the ring shape. In this case, boththe first motor and the second motor may be OIS motors, in other words,both the two cameras have a stabilization function and a focus function.

Optionally, the second preset distance is a maximum value that can bereached by the third disposition location and the fourth dispositionlocation.

Specifically, when a layout in a motor is compact, the second presetdistance may be configured as a maximum distance between the dispositionlocation (which is indicated as the third location) of the second Halleffect sensor and the disposition location (which is indicated as thefourth location) of the first magnets. In this way, interference causedby the first motor to the second Hall effect sensor can be reduced asmuch as possible.

Optionally, when space inside a motor permits, a second preset thresholdmay be set to 5 mm, so that interference between the second Hall effectsensor and the first magnets is effectively reduced.

Optionally, the first magnets may be bipolar magnets, and the firstmagnets may be the same as or different from the second magnets. This isnot limited in this application.

It should be understood that all or some of the M first magnets includedin the first motor may be bipolar magnets. For example, a magnet that isin the first motor and that is close to the second motor uses a bipolarmagnet, or a pair of magnets in some magnets that are disposed oppositeto each other are bipolar magnets. This is not limited in thisapplication.

A dual-camera device including a first motor and a second motor may beshown in FIG. 12 . It should be understood that a coil configured tosupport a magnet in a power-on state is disposed under a magnet in eachsecond motor in FIG. 12 .

As shown in (a) in FIG. 12 , the first motor is an open-loop AF motor,and the open-loop AF motor includes two magnets. The second motor is anopen-loop OIS motor, and the open-loop OIS motor includes four magnetsand one Hall effect sensor (Hall-X and Hall-Y) in each of an X-axisdirection and a Y-axis direction. All or some of the magnets in theopen-loop AF motor and the magnets in the open-loop OIS motor may bebipolar magnets.

As shown in (b) in FIG. 12 , the first motor is a closed-loop AF motor,and the closed-loop AF motor includes two magnets and two Hall effectsensors (Hall-1 and Hall-2) in a Z-axis direction. The second motor isan open-loop OIS motor, and the open-loop OIS motor includes fourmagnets and one Hall effect sensor (Hall-X and Hall-Y) in each of anX-axis direction and a Y-axis direction. All or some of the magnets inthe closed-loop AF motor and the magnets in the open-loop OIS motor maybe bipolar magnets. As shown in (c) in FIG. 12 , the first motor is anopen-loop AF motor, and the open-loop AF motor includes two magnets. Thesecond motor is a closed-loop OIS motor, and the closed-loop OIS motorincludes four magnets and one Hall effect sensor (Hall-X, Hall-Y, andHall-Z) in each of an X-axis direction, a Y-axis direction, and a Z-axisdirection. All or some of the magnets in the open-loop AF motor and themagnets in the closed-loop OIS motor may be bipolar magnets.

As shown in (d) in FIG. 12 , the first motor is a closed-loop AF motor,and the closed-loop AF motor includes two magnets and two Hall effectsensors (Hall-1 and Hall-2) in a Z-axis direction. The second motor is aclosed-loop OIS motor, and the closed-loop OIS motor includes fourmagnets and one Hall effect sensor (Hall-X, Hall-Y, and Hall-Z) in eachof an X-axis direction, a Y-axis direction, and a Z-axis direction. Allor some of the magnets in the closed-loop AF motor and the magnets inthe closed-loop OIS motor may be bipolar magnets.

It should be understood that both the first motor and the second motormay be OIS motors. This is not limited in this application.

Optionally, a housing material of the second motor may also use a weakmagnetic material or a non-magnetic material, so that magneticinterference caused by the second motor to the first motor is furtherreduced. For example, the housing material is SUS304 or SUS315.

It should be understood that a housing material of the first motor maybe the same as or different from the housing material of the secondmotor.

An example in which a dual-camera device includes a closed-loop AF motorand a closed-loop OIS motor is used for description. FIG. 13 is a layoutdiagram of the magnets in the closed-loop AF motor and the magnets inthe closed-loop OIS motor that are shown in (d) in FIG. 12 . Some of themagnets in FIG. 13 are bipolar magnets. FIG. 14 is a simulation diagramof magnetic interference of a structural layout of the bipolar magnetsshown in FIG. 13 . FIG. 14 is a diagram of simulation results ofmagnetic interference of a single AF closed-loop motor, a singleclosed-loop OIS motor, and a closed-loop AF motor and a closed-loop OISmotor. It can be seen from the figure that three lines almost coincide.In other words, when the closed-loop AF motor and the closed-loop OISmotor are laid out as shown in FIG. 13 and magnets are configured asbipolar magnets, magnetic interference is relatively weak.

Therefore, for the dual-camera device in this embodiment of thisapplication, the locations of the Hall effect sensors and the magnetsare laid out in the two motors, bipolar magnets are used as the magnets,and the housing materials of the motors are changed to the weak magneticmaterial or the non-magnetic material. This reduces magneticinterference between the two motors, so that user experience isimproved.

Optionally, an embodiment of this application provides a terminaldevice, including the dual-camera device according to any one of theforegoing implementations. The terminal device includes but is notlimited to a mobile phone, a mobile station, a tablet computer, adigital camera, or the like. This is not limited in this application.

Specifically, when the terminal device is a mobile phone, the terminaldevice includes a dual-camera device, an image processing chip, a lightsensitivity component, a display, and a battery. When the terminaldevice is a digital camera, the terminal device includes a dual-cameradevice, an image processing chip, a light sensitivity component, anaperture, a display, a battery, a shutter, and the like. Details are notdescribed in this embodiment of this application.

It should be understood that a dual camera in this embodiment of thisapplication may be two cameras on a back surface of a mobile phone thatare disposed in parallel, or may be two cameras that are respectivelydisposed on a front surface and a back surface of a mobile phone. Thisis not limited in this application.

A person skilled in the art may clearly learn that for ease andbriefness of description, specific working processes of the dual-cameradevice and the terminal device that are described above are notdescribed herein again.

The foregoing descriptions are merely specific implementations of thisapplication, but are not intended to limit the protection scope of thisapplication. Any variation or replacement readily figured out by aperson skilled in the art within the technical scope disclosed in thisapplication shall fall within the protection scope of this application.Therefore, the protection scope of this application shall be subject tothe protection scope of the claims.

What is claimed is:
 1. A terminal device, comprising: a first camera,wherein the first camera comprises a first motor, and wherein the firstmotor comprises at least one first Hall effect sensor; and a secondcamera, wherein the second camera comprises a second motor, wherein thesecond motor and the first motor are disposed in parallel, wherein thesecond motor comprises N second coils and N second magnets, wherein theN second coils are configured to levitate and support the N secondmagnets during power-on, wherein N is a positive integer, wherein adistance between a first disposition location of the at least one firstHall effect sensor in the first motor and a second disposition locationof the N second magnets in the second motor is greater than or equal toa first preset distance, and wherein the first preset distance isconfigured to reduce magnetic interference between the first motor andthe second motor.
 2. The terminal device of claim 1, wherein the firstmotor further comprises K first magnets and an autofocus (AF) coil,wherein the AF coil is in a ring shape, wherein the K first magnets aredisposed opposite to each other along an outer wall of the ring shape,and wherein K is a positive integer.
 3. The terminal device of claim 1,wherein the first motor further comprises M first coils and M firstmagnets, wherein the M first coils are configured to levitate andsupport the M first magnets during the power-on, wherein M is a positiveinteger, wherein the second motor further comprises at least one secondHall effect sensor, and wherein a distance between a third dispositionlocation of the at least one second Hall effect sensor in the secondmotor and a fourth disposition location of the M first magnets in thefirst motor is greater than or equal to a second preset distance.
 4. Theterminal device of claim 3, wherein the first motor further comprises anautofocus (AF) coil, wherein the AF coil is in a ring shape, and whereinthe M first magnets are disposed pairwise opposite to each other aroundan outer wall of the ring shape.
 5. The terminal device of claim 3,wherein the second preset distance is a maximum distance between thethird disposition location and the fourth disposition location.
 6. Theterminal device of claim 1, wherein the first preset distance is amaximum distance between the first disposition location and the seconddisposition location.
 7. The terminal device of claim 1, wherein thesecond motor further comprises an autofocus (AF) coil, wherein the AFcoil is in a ring shape, and wherein the N second magnets are disposedpairwise opposite to each other around an outer wall of the ring shape.8. The terminal device of claim 1, wherein the first preset distance isbased on sizes of internal space of the first motor and the secondmotor.
 9. The terminal device of claim 1, wherein the first presetdistance is based on measured data of the terminal device.
 10. Theterminal device of claim 1, wherein the first preset distance is lessthan or equal to a gap distance between the first disposition locationand the second disposition location.
 11. The terminal device of claim10, wherein the gap distance is less than one and one half millimeters(mm).
 12. The terminal device of claim 1, wherein the distance betweenthe first disposition location and the second disposition location is aminimum distance between a location of the at least one first Halleffect sensor in the first motor and a location of the N second magnetsin the second motor.
 13. The terminal device of claim 1, wherein thefirst preset distance is less than or equal to a maximum distanceachievable between the first disposition location and the seconddisposition location.
 14. A dual-camera device, comprising: a firstcamera, wherein the first camera comprises a first motor, and whereinthe first motor comprises at least one first Hall effect sensor; and asecond camera, wherein the second camera comprises a second motor,wherein the second motor and the first motor are disposed in parallel,wherein the second motor comprises N second coils and N second magnets,wherein the N second coils are configured to levitate and support the Nsecond magnets during power-on, wherein N is a positive integer, whereina distance between a first disposition location of the at least onefirst Hall effect sensor in the first motor and a second dispositionlocation of the N second magnets in the second motor is greater than orequal to a first preset distance, and wherein the first preset distanceis based on a maximum distance between the first disposition locationand the second disposition location, a size of internal space of thefirst motor and the second motor, measured data of the dual-cameradevice, or magnetic interference between the first motor and the secondmotor.
 15. The dual-camera device of claim 14, wherein the first motorfurther comprises K first magnets and an autofocus (AF) coil, whereinthe AF coil is in a ring shape, wherein the K first magnets are disposedopposite to each other along an outer wall of the ring shape, andwherein K is a positive integer.
 16. The dual-camera device of claim 14,wherein the first motor further comprises M first coils and M firstmagnets, wherein the M first coils are configured to levitate andsupport the M first magnets during the power-on, wherein M is a positiveinteger, wherein the second motor further comprises at least one secondHall effect sensor, and wherein a distance between a third dispositionlocation of the at least one second Hall effect sensor in the secondmotor and a fourth disposition location of the M first magnets in thefirst motor is greater than or equal to a second preset distance. 17.The dual-camera device of claim 16, wherein the first motor furthercomprises an autofocus (AF) coil, wherein the AF coil is in a ringshape, and wherein the M first magnets are disposed pairwise opposite toeach other around an outer wall of the ring shape.
 18. The dual-cameradevice of claim 16, wherein the second preset distance is a maximumdistance between the third disposition location and the fourthdisposition location.
 19. The dual-camera device of claim 14, whereinthe second motor further comprises an autofocus (AF) coil, wherein theAF coil is in a ring shape, and wherein the N second magnets aredisposed pairwise opposite to each other around an outer wall of thering shape.